package top.ucat.x.system.service.management;

import top.ucat.box.starter.mybatis.plus.base.service.BaseCrudService;
import top.ucat.x.system.entity.SysRole;
import top.ucat.x.system.entity.beans.role.RoleTreeVo;

import java.util.Collection;
import java.util.List;
import java.util.Set;

/**
 * @Auther: Jun
 * @Date: 2020/4/21 17:42
 * @Description:
 */
public interface SysRoleService extends BaseCrudService<SysRole> {

    List<SysRole> getAllRole();

    /**
     * 获取角色树形
     *
     * @return
     */
    List<RoleTreeVo> getRoleTrees();


    List<SysRole> getRolesByIds(Collection ids);
}
